package com.zeny.edu.eduservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zeny.edu.eduservice.entity.EduCourse;
import com.zeny.edu.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zeny.edu.eduservice.entity.query.QueryTeacher;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author zeny
 * @since 2020-02-24
 */
public interface EduTeacherService extends IService<EduTeacher> {

    IPage<EduTeacher> pageListCondition(Page<EduTeacher> eduTeacherPage, QueryTeacher queryTeacher);

    boolean deleteById(String id);

    Map<String, Object> getFrontTeacherList(Page<EduTeacher> teacherPage);

    List<EduCourse> getCourseOfTeacherByTeacherId(String id);
}
